package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_banquet_auto_open_end", autoSave = true)
public class LogBanquetAutoOpenEnd {

    @FieldTypeAnnotation(desc = "活动id")
    private int activityId;

    @FieldTypeAnnotation(desc = "举办玩家id")
    private long userId;

    @FieldTypeAnnotation(desc = "宴会id")
    private String banquetId;

    @FieldTypeAnnotation(desc = "积分")
    private int integral;

    @FieldTypeAnnotation(desc = "人气")
    private int popularity;

    @FieldTypeAnnotation(desc = "类型")
    private int banquetType;

    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    public LogBanquetAutoOpenEnd(int activityId, long userId, String banquetId, int integral, int popularity, int banquetType) {
        this.activityId = activityId;
        this.userId = userId;
        this.banquetId = banquetId;
        this.integral = integral;
        this.popularity = popularity;
        this.banquetType = banquetType;
        this.logTime = new Date();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getBanquetId() {
        return banquetId;
    }

    public void setBanquetId(String banquetId) {
        this.banquetId = banquetId;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }

    public int getPopularity() {
        return popularity;
    }

    public void setPopularity(int popularity) {
        this.popularity = popularity;
    }

    public int getBanquetType() {
        return banquetType;
    }

    public void setBanquetType(int banquetType) {
        this.banquetType = banquetType;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
}
